﻿using MDPM.EntitiyModels.BusinessOrganization;
using MDPM.EntitiyModels.ProjectManage.PurchasingLeadingGroupRelevant;
using MDPM.Foundation.SpecificationsForEntityModel;
using System;
using System.Collections.Generic;
using System.Text;

namespace MDPM.EntitiyModels.CommodityBusiness.HospitalDepartment
{
    /// <summary>
    /// 医院部门需求
    /// </summary>
    public class HospitalDepartmentDemand:EntityBase
    {
        /// <summary>
        /// 归属的医院部门
        /// </summary>
        public OrganizationDepartment HospitalDepartment { get; set; }
        /// <summary>
        /// 申报理由
        /// </summary>
        public string DeclareReason { get; set; }
        /// <summary>
        /// 审批备注
        /// </summary>
        public string ApprovalRemarks { get; set; }

        public PurchasingLeadingGroupMeber ApprovalPerson { get; set; } //审批者

        /// <summary>
        /// 需求时间
        /// </summary>
        public DateTime DemandDate { get; set; }
        /// <summary>
        /// 审批完成时间
        /// </summary>
        public DateTime ApprovalCompletedTime { get; set; }
        /// <summary>
        /// 医院部门需求是否通过
        /// </summary>
        public bool IsPass { get; set; } = false;

        public HospitalDepartmentDemand()
        {
            this.Id = Guid.NewGuid();
        }
    }
}
